package com.woniuxy.yoga.business.service;

import com.woniuxy.yoga.business.dao.model.BusinessPayment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.yoga.business.model.param.businesspayment.BusinessPagePayParam;
import com.woniuxy.yoga.business.model.param.businesspayment.SelectPagePaymentParam;
import com.woniuxy.yoga.commons.core.model.PageInfo;

import java.util.Map;

/**
 * <p>
 * 商家入驻缴费表 服务类
 * </p>
 *
 * @author 韦用文,刘存益,郎腾霄
 * @since 2023年12月02日
 */
public interface BusinessPaymentService extends IService<BusinessPayment> {
    /**
     * 响应给商家支付页面
     * @param param
     * @return
     * @throws Exception
     */
    String businessPagePay(BusinessPagePayParam param) throws Exception;
    /**
     * 商家入驻缴费异步回调接口
     * @return
     * @throws Exception
     */
    void paySuccess(Map<String, String> params) throws Exception;
    /**
     * 分页查询商家入驻缴费列表
     * @param param
     * @return
     */
    PageInfo selectPagePayment(SelectPagePaymentParam param);
}
